package abs.domain;

import java.io.Serializable;

import java.lang.StringBuilder;

import java.math.BigDecimal;

import java.util.Calendar;
import java.util.LinkedHashSet;
import java.util.Set;

import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;

import javax.xml.bind.annotation.*;

import javax.persistence.*;

/**
 */

@Entity
@NamedQueries({
		@NamedQuery(name = "findAllCompaniass", query = "select myCompanias from Companias myCompanias"),
		@NamedQuery(name = "findCompaniasByCo000baca", query = "select myCompanias from Companias myCompanias where myCompanias.co000baca = ?1"),
		@NamedQuery(name = "findCompaniasByCo000clca", query = "select myCompanias from Companias myCompanias where myCompanias.co000clca = ?1"),
		@NamedQuery(name = "findCompaniasByCo000clcaContaining", query = "select myCompanias from Companias myCompanias where myCompanias.co000clca like ?1"),
		@NamedQuery(name = "findCompaniasByCo000cont", query = "select myCompanias from Companias myCompanias where myCompanias.co000cont = ?1"),
		@NamedQuery(name = "findCompaniasByCo000contContaining", query = "select myCompanias from Companias myCompanias where myCompanias.co000cont like ?1"),
		@NamedQuery(name = "findCompaniasByCo000dire", query = "select myCompanias from Companias myCompanias where myCompanias.co000dire = ?1"),
		@NamedQuery(name = "findCompaniasByCo000direContaining", query = "select myCompanias from Companias myCompanias where myCompanias.co000dire like ?1"),
		@NamedQuery(name = "findCompaniasByCo000esta", query = "select myCompanias from Companias myCompanias where myCompanias.co000esta = ?1"),
		@NamedQuery(name = "findCompaniasByCo000estaContaining", query = "select myCompanias from Companias myCompanias where myCompanias.co000esta like ?1"),
		@NamedQuery(name = "findCompaniasByCo000fead", query = "select myCompanias from Companias myCompanias where myCompanias.co000fead = ?1"),
		@NamedQuery(name = "findCompaniasByCo000feadAfter", query = "select myCompanias from Companias myCompanias where myCompanias.co000fead > ?1"),
		@NamedQuery(name = "findCompaniasByCo000feadBefore", query = "select myCompanias from Companias myCompanias where myCompanias.co000fead < ?1"),
		@NamedQuery(name = "findCompaniasByCo000femo", query = "select myCompanias from Companias myCompanias where myCompanias.co000femo = ?1"),
		@NamedQuery(name = "findCompaniasByCo000femoAfter", query = "select myCompanias from Companias myCompanias where myCompanias.co000femo > ?1"),
		@NamedQuery(name = "findCompaniasByCo000femoBefore", query = "select myCompanias from Companias myCompanias where myCompanias.co000femo < ?1"),
		@NamedQuery(name = "findCompaniasByCo000fir1", query = "select myCompanias from Companias myCompanias where myCompanias.co000fir1 = ?1"),
		@NamedQuery(name = "findCompaniasByCo000fir1Containing", query = "select myCompanias from Companias myCompanias where myCompanias.co000fir1 like ?1"),
		@NamedQuery(name = "findCompaniasByCo000fir2", query = "select myCompanias from Companias myCompanias where myCompanias.co000fir2 = ?1"),
		@NamedQuery(name = "findCompaniasByCo000fir2Containing", query = "select myCompanias from Companias myCompanias where myCompanias.co000fir2 like ?1"),
		@NamedQuery(name = "findCompaniasByCo000idtr", query = "select myCompanias from Companias myCompanias where myCompanias.co000idtr = ?1"),
		@NamedQuery(name = "findCompaniasByCo000idtrContaining", query = "select myCompanias from Companias myCompanias where myCompanias.co000idtr like ?1"),
		@NamedQuery(name = "findCompaniasByCo000incc", query = "select myCompanias from Companias myCompanias where myCompanias.co000incc = ?1"),
		@NamedQuery(name = "findCompaniasByCo000inccContaining", query = "select myCompanias from Companias myCompanias where myCompanias.co000incc like ?1"),
		@NamedQuery(name = "findCompaniasByCo000incf", query = "select myCompanias from Companias myCompanias where myCompanias.co000incf = ?1"),
		@NamedQuery(name = "findCompaniasByCo000incfContaining", query = "select myCompanias from Companias myCompanias where myCompanias.co000incf like ?1"),
		@NamedQuery(name = "findCompaniasByCo000incp", query = "select myCompanias from Companias myCompanias where myCompanias.co000incp = ?1"),
		@NamedQuery(name = "findCompaniasByCo000incpContaining", query = "select myCompanias from Companias myCompanias where myCompanias.co000incp like ?1"),
		@NamedQuery(name = "findCompaniasByCo000inut", query = "select myCompanias from Companias myCompanias where myCompanias.co000inut = ?1"),
		@NamedQuery(name = "findCompaniasByCo000inutContaining", query = "select myCompanias from Companias myCompanias where myCompanias.co000inut like ?1"),
		@NamedQuery(name = "findCompaniasByCo000load", query = "select myCompanias from Companias myCompanias where myCompanias.co000load = ?1"),
		@NamedQuery(name = "findCompaniasByCo000loadContaining", query = "select myCompanias from Companias myCompanias where myCompanias.co000load like ?1"),
		@NamedQuery(name = "findCompaniasByCo000lomo", query = "select myCompanias from Companias myCompanias where myCompanias.co000lomo = ?1"),
		@NamedQuery(name = "findCompaniasByCo000lomoContaining", query = "select myCompanias from Companias myCompanias where myCompanias.co000lomo like ?1"),
		@NamedQuery(name = "findCompaniasByCo000meci", query = "select myCompanias from Companias myCompanias where myCompanias.co000meci = ?1"),
		@NamedQuery(name = "findCompaniasByCo000mepr", query = "select myCompanias from Companias myCompanias where myCompanias.co000mepr = ?1"),
		@NamedQuery(name = "findCompaniasByCo000mofu", query = "select myCompanias from Companias myCompanias where myCompanias.co000mofu = ?1"),
		@NamedQuery(name = "findCompaniasByCo000mofuContaining", query = "select myCompanias from Companias myCompanias where myCompanias.co000mofu like ?1"),
		@NamedQuery(name = "findCompaniasByCo000nocia", query = "select myCompanias from Companias myCompanias where myCompanias.co000nocia = ?1"),
		@NamedQuery(name = "findCompaniasByCo000nociaContaining", query = "select myCompanias from Companias myCompanias where myCompanias.co000nocia like ?1"),
		@NamedQuery(name = "findCompaniasByCo000nomb", query = "select myCompanias from Companias myCompanias where myCompanias.co000nomb = ?1"),
		@NamedQuery(name = "findCompaniasByCo000nombContaining", query = "select myCompanias from Companias myCompanias where myCompanias.co000nomb like ?1"),
		@NamedQuery(name = "findCompaniasByCo000nosu", query = "select myCompanias from Companias myCompanias where myCompanias.co000nosu = ?1"),
		@NamedQuery(name = "findCompaniasByCo000notr", query = "select myCompanias from Companias myCompanias where myCompanias.co000notr = ?1"),
		@NamedQuery(name = "findCompaniasByCo000notrContaining", query = "select myCompanias from Companias myCompanias where myCompanias.co000notr like ?1"),
		@NamedQuery(name = "findCompaniasByCo000nreg", query = "select myCompanias from Companias myCompanias where myCompanias.co000nreg = ?1"),
		@NamedQuery(name = "findCompaniasByCo000nregContaining", query = "select myCompanias from Companias myCompanias where myCompanias.co000nreg like ?1"),
		@NamedQuery(name = "findCompaniasByCo000repr", query = "select myCompanias from Companias myCompanias where myCompanias.co000repr = ?1"),
		@NamedQuery(name = "findCompaniasByCo000reprContaining", query = "select myCompanias from Companias myCompanias where myCompanias.co000repr like ?1"),
		@NamedQuery(name = "findCompaniasByPrimaryKey", query = "select myCompanias from Companias myCompanias where myCompanias.co000nocia = ?1") })
@Table(catalog = "absV2", name = "co000")
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(namespace = "absWeb/abs/domain", name = "Companias")
@XmlRootElement(namespace = "absWeb/abs/domain")
public class Companias implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * CODIGO
	 * 
	 */

	@Column(name = "co000nocia", length = 2, nullable = false)
	@Basic(fetch = FetchType.EAGER)
	@Id
	@XmlElement
	String co000nocia;
	/**
	 * LOGO
	 * 
	 */

	@Column(name = "co000logo", columnDefinition = "BLOB")
	@Basic(fetch = FetchType.EAGER)
	@Lob
	@XmlElement
	byte[] co000logo;
	/**
	 * NOMBRE
	 * 
	 */

	@Column(name = "co000nomb", length = 200)
	@Basic(fetch = FetchType.EAGER)
	@XmlElement
	String co000nomb;
	/**
	 * No. SUCURSALES
	 * 
	 */

	@Column(name = "co000nosu")
	@Basic(fetch = FetchType.EAGER)
	@XmlElement
	Integer co000nosu;
	/**
	 * DIRECCION
	 * 
	 */

	@Column(name = "co000dire", length = 200)
	@Basic(fetch = FetchType.EAGER)
	@XmlElement
	String co000dire;
	/**
	 * NOMBRE REPRESENTANTE LEGAL
	 * 
	 */

	@Column(name = "co000repr", length = 200)
	@Basic(fetch = FetchType.EAGER)
	@XmlElement
	String co000repr;
	/**
	 * NOMBRE CONTADOR
	 * 
	 */

	@Column(name = "co000cont", length = 200)
	@Basic(fetch = FetchType.EAGER)
	@XmlElement
	String co000cont;
	/**
	 * No. REGISTRO CONTADOR
	 * 
	 */

	@Column(name = "co000nreg", length = 20)
	@Basic(fetch = FetchType.EAGER)
	@XmlElement
	String co000nreg;
	/**
	 * MONEDA DE TRABAJO
	 * 
	 */

	@Column(name = "co000clca", length = 3)
	@Basic(fetch = FetchType.EAGER)
	@XmlElement
	String co000clca;
	/**
	 * MONEDA DE REPORTE DE BALANCES
	 * 
	 */

	@Column(name = "co000mofu", length = 1)
	@Basic(fetch = FetchType.EAGER)
	@XmlElement
	String co000mofu;
	/**
	 * NOMBRE TRIBUTARIO
	 * 
	 */

	@Column(name = "co000notr", length = 20)
	@Basic(fetch = FetchType.EAGER)
	@XmlElement
	String co000notr;
	/**
	 * NUMERO TRIBUTARIO
	 * 
	 */

	@Column(name = "co000idtr", length = 20)
	@Basic(fetch = FetchType.EAGER)
	@XmlElement
	String co000idtr;
	/**
	 * No. PERIODOS CONTABLES
	 * 
	 */

	@Column(name = "co000meci")
	@Basic(fetch = FetchType.EAGER)
	@XmlElement
	Integer co000meci;
	/**
	 * PERIODO EN PROCESO
	 * 
	 */

	@Column(name = "co000mepr")
	@Basic(fetch = FetchType.EAGER)
	@XmlElement
	Integer co000mepr;
	/**
	 * INDICADOR CENTRO DE COSTOS
	 * 
	 */

	@Column(name = "co000incc", length = 1)
	@Basic(fetch = FetchType.EAGER)
	@XmlElement
	String co000incc;
	/**
	 * INDICADOR CALCULO UTILIDAD
	 * 
	 */

	@Column(name = "co000inut", length = 1)
	@Basic(fetch = FetchType.EAGER)
	@XmlElement
	String co000inut;
	/**
	 * INDICADOR CIERRE PERIODO
	 * 
	 */

	@Column(name = "co000incp", length = 1)
	@Basic(fetch = FetchType.EAGER)
	@XmlElement
	String co000incp;
	/**
	 * INDICADOR CIERRE FISCAL
	 * 
	 */

	@Column(name = "co000incf", length = 1)
	@Basic(fetch = FetchType.EAGER)
	@XmlElement
	String co000incf;
	/**
	 * BASE DE CAMBIO
	 * 
	 */

	@Column(name = "co000baca", scale = 2, precision = 4)
	@Basic(fetch = FetchType.EAGER)
	@XmlElement
	BigDecimal co000baca;
	/**
	 * AUTORIZACION 1
	 * 
	 */

	@Column(name = "co000fir1", length = 50)
	@Basic(fetch = FetchType.EAGER)
	@XmlElement
	String co000fir1;
	/**
	 * AUTORIZACION 2
	 * 
	 */

	@Column(name = "co000fir2", length = 50)
	@Basic(fetch = FetchType.EAGER)
	@XmlElement
	String co000fir2;
	/**
	 * ESTADO
	 * 
	 */

	@Column(name = "co000esta", length = 1)
	@Basic(fetch = FetchType.EAGER)
	@XmlElement
	String co000esta;
	/**
	 * USUARIO ADICION
	 * 
	 */

	@Column(name = "co000load", length = 50)
	@Basic(fetch = FetchType.EAGER)
	@XmlElement
	String co000load;
	/**
	 * FECHA ADICION
	 * 
	 */
	@Temporal(TemporalType.DATE)
	@Column(name = "co000fead")
	@Basic(fetch = FetchType.EAGER)
	@XmlElement
	Calendar co000fead;
	/**
	 * USUARIO MODIFICACION
	 * 
	 */

	@Column(name = "co000lomo", length = 50)
	@Basic(fetch = FetchType.EAGER)
	@XmlElement
	String co000lomo;
	/**
	 * USUARIO MODIFICACION
	 * 
	 */
	@Temporal(TemporalType.DATE)
	@Column(name = "co000femo")
	@Basic(fetch = FetchType.EAGER)
	@XmlElement
	Calendar co000femo;

	/**
	 */
	@OneToMany(mappedBy = "companias", cascade = { CascadeType.REMOVE }, fetch = FetchType.LAZY)
	@XmlElement(name = "", namespace = "")
	java.util.Set<abs.domain.TipoClientes> tipoClienteses;
	/**
	 */
	@OneToMany(mappedBy = "companias", cascade = { CascadeType.REMOVE }, fetch = FetchType.LAZY)
	@XmlElement(name = "", namespace = "")
	java.util.Set<abs.domain.GrupoProveedores> grupoProveedoreses;
	/**
	 */
	@OneToMany(mappedBy = "companias", cascade = { CascadeType.REMOVE }, fetch = FetchType.LAZY)
	@XmlElement(name = "", namespace = "")
	java.util.Set<abs.domain.Retenciones> retencioneses;
	/**
	 */
	@OneToMany(mappedBy = "companias", cascade = { CascadeType.REMOVE }, fetch = FetchType.LAZY)
	@XmlElement(name = "", namespace = "")
	java.util.Set<abs.domain.Documentos> documentoses;
	/**
	 */
	@OneToMany(mappedBy = "companias", cascade = { CascadeType.REMOVE }, fetch = FetchType.LAZY)
	@XmlElement(name = "", namespace = "")
	java.util.Set<abs.domain.TipoProveedores> tipoProveedoreses;
	/**
	 */
	@OneToMany(mappedBy = "companias", cascade = { CascadeType.REMOVE }, fetch = FetchType.LAZY)
	@XmlElement(name = "", namespace = "")
	java.util.Set<abs.domain.Sucursales> sucursaleses;
	/**
	 */
	@OneToMany(mappedBy = "companias", cascade = { CascadeType.REMOVE }, fetch = FetchType.LAZY)
	@XmlElement(name = "", namespace = "")
	java.util.Set<abs.domain.Proveedores> proveedoreses;
	/**
	 */
	@OneToMany(mappedBy = "companias", cascade = { CascadeType.REMOVE }, fetch = FetchType.LAZY)
	@XmlElement(name = "", namespace = "")
	java.util.Set<abs.domain.GrupoClientes> grupoClienteses;

	/**
	 * CODIGO
	 * 
	 */
	public void setCo000nocia(String co000nocia) {
		this.co000nocia = co000nocia;
	}

	/**
	 * CODIGO
	 * 
	 */
	public String getCo000nocia() {
		return this.co000nocia;
	}

	/**
	 * LOGO
	 * 
	 */
	public void setCo000logo(byte[] co000logo) {
		this.co000logo = co000logo;
	}

	/**
	 * LOGO
	 * 
	 */
	public byte[] getCo000logo() {
		return this.co000logo;
	}

	/**
	 * NOMBRE
	 * 
	 */
	public void setCo000nomb(String co000nomb) {
		this.co000nomb = co000nomb;
	}

	/**
	 * NOMBRE
	 * 
	 */
	public String getCo000nomb() {
		return this.co000nomb;
	}

	/**
	 * No. SUCURSALES
	 * 
	 */
	public void setCo000nosu(Integer co000nosu) {
		this.co000nosu = co000nosu;
	}

	/**
	 * No. SUCURSALES
	 * 
	 */
	public Integer getCo000nosu() {
		return this.co000nosu;
	}

	/**
	 * DIRECCION
	 * 
	 */
	public void setCo000dire(String co000dire) {
		this.co000dire = co000dire;
	}

	/**
	 * DIRECCION
	 * 
	 */
	public String getCo000dire() {
		return this.co000dire;
	}

	/**
	 * NOMBRE REPRESENTANTE LEGAL
	 * 
	 */
	public void setCo000repr(String co000repr) {
		this.co000repr = co000repr;
	}

	/**
	 * NOMBRE REPRESENTANTE LEGAL
	 * 
	 */
	public String getCo000repr() {
		return this.co000repr;
	}

	/**
	 * NOMBRE CONTADOR
	 * 
	 */
	public void setCo000cont(String co000cont) {
		this.co000cont = co000cont;
	}

	/**
	 * NOMBRE CONTADOR
	 * 
	 */
	public String getCo000cont() {
		return this.co000cont;
	}

	/**
	 * No. REGISTRO CONTADOR
	 * 
	 */
	public void setCo000nreg(String co000nreg) {
		this.co000nreg = co000nreg;
	}

	/**
	 * No. REGISTRO CONTADOR
	 * 
	 */
	public String getCo000nreg() {
		return this.co000nreg;
	}

	/**
	 * MONEDA DE TRABAJO
	 * 
	 */
	public void setCo000clca(String co000clca) {
		this.co000clca = co000clca;
	}

	/**
	 * MONEDA DE TRABAJO
	 * 
	 */
	public String getCo000clca() {
		return this.co000clca;
	}

	/**
	 * MONEDA DE REPORTE DE BALANCES
	 * 
	 */
	public void setCo000mofu(String co000mofu) {
		this.co000mofu = co000mofu;
	}

	/**
	 * MONEDA DE REPORTE DE BALANCES
	 * 
	 */
	public String getCo000mofu() {
		return this.co000mofu;
	}

	/**
	 * NOMBRE TRIBUTARIO
	 * 
	 */
	public void setCo000notr(String co000notr) {
		this.co000notr = co000notr;
	}

	/**
	 * NOMBRE TRIBUTARIO
	 * 
	 */
	public String getCo000notr() {
		return this.co000notr;
	}

	/**
	 * NUMERO TRIBUTARIO
	 * 
	 */
	public void setCo000idtr(String co000idtr) {
		this.co000idtr = co000idtr;
	}

	/**
	 * NUMERO TRIBUTARIO
	 * 
	 */
	public String getCo000idtr() {
		return this.co000idtr;
	}

	/**
	 * No. PERIODOS CONTABLES
	 * 
	 */
	public void setCo000meci(Integer co000meci) {
		this.co000meci = co000meci;
	}

	/**
	 * No. PERIODOS CONTABLES
	 * 
	 */
	public Integer getCo000meci() {
		return this.co000meci;
	}

	/**
	 * PERIODO EN PROCESO
	 * 
	 */
	public void setCo000mepr(Integer co000mepr) {
		this.co000mepr = co000mepr;
	}

	/**
	 * PERIODO EN PROCESO
	 * 
	 */
	public Integer getCo000mepr() {
		return this.co000mepr;
	}

	/**
	 * INDICADOR CENTRO DE COSTOS
	 * 
	 */
	public void setCo000incc(String co000incc) {
		this.co000incc = co000incc;
	}

	/**
	 * INDICADOR CENTRO DE COSTOS
	 * 
	 */
	public String getCo000incc() {
		return this.co000incc;
	}

	/**
	 * INDICADOR CALCULO UTILIDAD
	 * 
	 */
	public void setCo000inut(String co000inut) {
		this.co000inut = co000inut;
	}

	/**
	 * INDICADOR CALCULO UTILIDAD
	 * 
	 */
	public String getCo000inut() {
		return this.co000inut;
	}

	/**
	 * INDICADOR CIERRE PERIODO
	 * 
	 */
	public void setCo000incp(String co000incp) {
		this.co000incp = co000incp;
	}

	/**
	 * INDICADOR CIERRE PERIODO
	 * 
	 */
	public String getCo000incp() {
		return this.co000incp;
	}

	/**
	 * INDICADOR CIERRE FISCAL
	 * 
	 */
	public void setCo000incf(String co000incf) {
		this.co000incf = co000incf;
	}

	/**
	 * INDICADOR CIERRE FISCAL
	 * 
	 */
	public String getCo000incf() {
		return this.co000incf;
	}

	/**
	 * BASE DE CAMBIO
	 * 
	 */
	public void setCo000baca(BigDecimal co000baca) {
		this.co000baca = co000baca;
	}

	/**
	 * BASE DE CAMBIO
	 * 
	 */
	public BigDecimal getCo000baca() {
		return this.co000baca;
	}

	/**
	 * AUTORIZACION 1
	 * 
	 */
	public void setCo000fir1(String co000fir1) {
		this.co000fir1 = co000fir1;
	}

	/**
	 * AUTORIZACION 1
	 * 
	 */
	public String getCo000fir1() {
		return this.co000fir1;
	}

	/**
	 * AUTORIZACION 2
	 * 
	 */
	public void setCo000fir2(String co000fir2) {
		this.co000fir2 = co000fir2;
	}

	/**
	 * AUTORIZACION 2
	 * 
	 */
	public String getCo000fir2() {
		return this.co000fir2;
	}

	/**
	 * ESTADO
	 * 
	 */
	public void setCo000esta(String co000esta) {
		this.co000esta = co000esta;
	}

	/**
	 * ESTADO
	 * 
	 */
	public String getCo000esta() {
		return this.co000esta;
	}

	/**
	 * USUARIO ADICION
	 * 
	 */
	public void setCo000load(String co000load) {
		this.co000load = co000load;
	}

	/**
	 * USUARIO ADICION
	 * 
	 */
	public String getCo000load() {
		return this.co000load;
	}

	/**
	 * FECHA ADICION
	 * 
	 */
	public void setCo000fead(Calendar co000fead) {
		this.co000fead = co000fead;
	}

	/**
	 * FECHA ADICION
	 * 
	 */
	public Calendar getCo000fead() {
		return this.co000fead;
	}

	/**
	 * USUARIO MODIFICACION
	 * 
	 */
	public void setCo000lomo(String co000lomo) {
		this.co000lomo = co000lomo;
	}

	/**
	 * USUARIO MODIFICACION
	 * 
	 */
	public String getCo000lomo() {
		return this.co000lomo;
	}

	/**
	 * USUARIO MODIFICACION
	 * 
	 */
	public void setCo000femo(Calendar co000femo) {
		this.co000femo = co000femo;
	}

	/**
	 * USUARIO MODIFICACION
	 * 
	 */
	public Calendar getCo000femo() {
		return this.co000femo;
	}

	/**
	 */
	public void setTipoClienteses(Set<TipoClientes> tipoClienteses) {
		this.tipoClienteses = tipoClienteses;
	}

	/**
	 */
	public Set<TipoClientes> getTipoClienteses() {
		if (tipoClienteses == null) {
			tipoClienteses = new java.util.LinkedHashSet<abs.domain.TipoClientes>();
		}
		return tipoClienteses;
	}

	/**
	 */
	public void setGrupoProveedoreses(Set<GrupoProveedores> grupoProveedoreses) {
		this.grupoProveedoreses = grupoProveedoreses;
	}

	/**
	 */
	public Set<GrupoProveedores> getGrupoProveedoreses() {
		if (grupoProveedoreses == null) {
			grupoProveedoreses = new java.util.LinkedHashSet<abs.domain.GrupoProveedores>();
		}
		return grupoProveedoreses;
	}

	/**
	 */
	public void setRetencioneses(Set<Retenciones> retencioneses) {
		this.retencioneses = retencioneses;
	}

	/**
	 */
	public Set<Retenciones> getRetencioneses() {
		if (retencioneses == null) {
			retencioneses = new java.util.LinkedHashSet<abs.domain.Retenciones>();
		}
		return retencioneses;
	}

	/**
	 */
	public void setDocumentoses(Set<Documentos> documentoses) {
		this.documentoses = documentoses;
	}

	/**
	 */
	public Set<Documentos> getDocumentoses() {
		if (documentoses == null) {
			documentoses = new java.util.LinkedHashSet<abs.domain.Documentos>();
		}
		return documentoses;
	}

	/**
	 */
	public void setTipoProveedoreses(Set<TipoProveedores> tipoProveedoreses) {
		this.tipoProveedoreses = tipoProveedoreses;
	}

	/**
	 */
	public Set<TipoProveedores> getTipoProveedoreses() {
		if (tipoProveedoreses == null) {
			tipoProveedoreses = new java.util.LinkedHashSet<abs.domain.TipoProveedores>();
		}
		return tipoProveedoreses;
	}

	/**
	 */
	public void setSucursaleses(Set<Sucursales> sucursaleses) {
		this.sucursaleses = sucursaleses;
	}

	/**
	 */
	public Set<Sucursales> getSucursaleses() {
		if (sucursaleses == null) {
			sucursaleses = new java.util.LinkedHashSet<abs.domain.Sucursales>();
		}
		return sucursaleses;
	}

	/**
	 */
	public void setProveedoreses(Set<Proveedores> proveedoreses) {
		this.proveedoreses = proveedoreses;
	}

	/**
	 */
	public Set<Proveedores> getProveedoreses() {
		if (proveedoreses == null) {
			proveedoreses = new java.util.LinkedHashSet<abs.domain.Proveedores>();
		}
		return proveedoreses;
	}

	/**
	 */
	public void setGrupoClienteses(Set<GrupoClientes> grupoClienteses) {
		this.grupoClienteses = grupoClienteses;
	}

	/**
	 */
	public Set<GrupoClientes> getGrupoClienteses() {
		if (grupoClienteses == null) {
			grupoClienteses = new java.util.LinkedHashSet<abs.domain.GrupoClientes>();
		}
		return grupoClienteses;
	}

	/**
	 */
	public Companias() {
	}

	/**
	 * Copies the contents of the specified bean into this bean.
	 *
	 */
	public void copy(Companias that) {
		setCo000nocia(that.getCo000nocia());
		setCo000logo(that.getCo000logo());
		setCo000nomb(that.getCo000nomb());
		setCo000nosu(that.getCo000nosu());
		setCo000dire(that.getCo000dire());
		setCo000repr(that.getCo000repr());
		setCo000cont(that.getCo000cont());
		setCo000nreg(that.getCo000nreg());
		setCo000clca(that.getCo000clca());
		setCo000mofu(that.getCo000mofu());
		setCo000notr(that.getCo000notr());
		setCo000idtr(that.getCo000idtr());
		setCo000meci(that.getCo000meci());
		setCo000mepr(that.getCo000mepr());
		setCo000incc(that.getCo000incc());
		setCo000inut(that.getCo000inut());
		setCo000incp(that.getCo000incp());
		setCo000incf(that.getCo000incf());
		setCo000baca(that.getCo000baca());
		setCo000fir1(that.getCo000fir1());
		setCo000fir2(that.getCo000fir2());
		setCo000esta(that.getCo000esta());
		setCo000load(that.getCo000load());
		setCo000fead(that.getCo000fead());
		setCo000lomo(that.getCo000lomo());
		setCo000femo(that.getCo000femo());
		setTipoClienteses(new java.util.LinkedHashSet<abs.domain.TipoClientes>(that.getTipoClienteses()));
		setGrupoProveedoreses(new java.util.LinkedHashSet<abs.domain.GrupoProveedores>(that.getGrupoProveedoreses()));
		setRetencioneses(new java.util.LinkedHashSet<abs.domain.Retenciones>(that.getRetencioneses()));
		setDocumentoses(new java.util.LinkedHashSet<abs.domain.Documentos>(that.getDocumentoses()));
		setTipoProveedoreses(new java.util.LinkedHashSet<abs.domain.TipoProveedores>(that.getTipoProveedoreses()));
		setSucursaleses(new java.util.LinkedHashSet<abs.domain.Sucursales>(that.getSucursaleses()));
		setProveedoreses(new java.util.LinkedHashSet<abs.domain.Proveedores>(that.getProveedoreses()));
		setGrupoClienteses(new java.util.LinkedHashSet<abs.domain.GrupoClientes>(that.getGrupoClienteses()));
	}

	/**
	 * Returns a textual representation of a bean.
	 *
	 */
	public String toString() {

		StringBuilder buffer = new StringBuilder();

		buffer.append("co000nocia=[").append(co000nocia).append("] ");
		buffer.append("co000logo=[").append(co000logo).append("] ");
		buffer.append("co000nomb=[").append(co000nomb).append("] ");
		buffer.append("co000nosu=[").append(co000nosu).append("] ");
		buffer.append("co000dire=[").append(co000dire).append("] ");
		buffer.append("co000repr=[").append(co000repr).append("] ");
		buffer.append("co000cont=[").append(co000cont).append("] ");
		buffer.append("co000nreg=[").append(co000nreg).append("] ");
		buffer.append("co000clca=[").append(co000clca).append("] ");
		buffer.append("co000mofu=[").append(co000mofu).append("] ");
		buffer.append("co000notr=[").append(co000notr).append("] ");
		buffer.append("co000idtr=[").append(co000idtr).append("] ");
		buffer.append("co000meci=[").append(co000meci).append("] ");
		buffer.append("co000mepr=[").append(co000mepr).append("] ");
		buffer.append("co000incc=[").append(co000incc).append("] ");
		buffer.append("co000inut=[").append(co000inut).append("] ");
		buffer.append("co000incp=[").append(co000incp).append("] ");
		buffer.append("co000incf=[").append(co000incf).append("] ");
		buffer.append("co000baca=[").append(co000baca).append("] ");
		buffer.append("co000fir1=[").append(co000fir1).append("] ");
		buffer.append("co000fir2=[").append(co000fir2).append("] ");
		buffer.append("co000esta=[").append(co000esta).append("] ");
		buffer.append("co000load=[").append(co000load).append("] ");
		buffer.append("co000fead=[").append(co000fead).append("] ");
		buffer.append("co000lomo=[").append(co000lomo).append("] ");
		buffer.append("co000femo=[").append(co000femo).append("] ");

		return buffer.toString();
	}

	/**
	 */
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = (int) (prime * result + ((co000nocia == null) ? 0 : co000nocia.hashCode()));
		return result;
	}

	/**
	 */
	public boolean equals(Object obj) {
		if (obj == this)
			return true;
		if (!(obj instanceof Companias))
			return false;
		Companias equalCheck = (Companias) obj;
		if ((co000nocia == null && equalCheck.co000nocia != null) || (co000nocia != null && equalCheck.co000nocia == null))
			return false;
		if (co000nocia != null && !co000nocia.equals(equalCheck.co000nocia))
			return false;
		return true;
	}
}
